package com.zlzxm.shoesmarket.globle;

import android.Manifest;

/**
 * CREATE BY zlzxm ON 4/13/21
 */
public class Constant {

    public enum RepositoryType{
        NORMAL(0,"普通发货"),QUICK(1,"闪电直销");

        int type;

        String value;

        RepositoryType(int type,String value) {
            this.type = type;
            this.value = value;
        }

        public int getType() {
            return type;
        }

        public String getValue() {
            return value;
        }
    }

    public enum NoteInType{

        salary("工资收入"),wholeSale("批发收入"),manageMoney("理财收入"),other("其他") ;


        public String value;

        NoteInType(String value) {
            this.value = value;
        }
    }


    public enum NoteOutType{

        salary("工资支出"),transportation("运费支出"),daily("生活支出"), other("其他支出");
        public String value;

        NoteOutType(String value) {
            this.value = value;
        }

    }

    public static class Header{

        public static final String TOKEN = "User-Qx-Token";

    }

    public static class MMKVKey{

        public static final String USER = "user";

    }

    public static class Tip{

        public static final String NONE_PERMISSION = "缺少权限";


    }

    public static class Character{

        public static final String CNY = "¥";

    }

    public static class Permissions{

        public static String[] WRITE ={ Manifest.permission.WRITE_EXTERNAL_STORAGE};

        public static String[] SCAN  = {Manifest.permission.CAMERA,
                Manifest.permission.VIBRATE,Manifest.permission.WRITE_EXTERNAL_STORAGE};


    }


    public static class Split{


        public static String pic_split = ",";
        public static String size_split = ",";

    }

}
